<?php 
session_start();
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>Document</title>
	<style>
		body{
			margin :0px;
			padding:0px; 
		}

		@media screen and (min-device-width:321px){
			header{
				background:red;
			}		

		}
		ul{
			margin: 0px;
			padding: 0px;
		}
	</style>
	<link rel="stylesheet" href="./css/quick_login.css" />
	<script src="./js/jquery-3.2.1.min.js"></script>
	<script>
		$(function verificationCodeOnblur(){
			$("input").eq(1).blur(function(){
				$("#mobile input").focus()
			// $("#register_btn input").click(function(){
				$.get('../api/checkCodeApi.php',{m:$("input").eq(1).val()},function(data){
					if(data){alert(data)}
				})
			})
		})
	</script>
</head>

<body>
	<section id = "sec_body">
		<div id="login_cont">
			<h2>
				<a href ="javascript:history.back();" ></a>
				登录果园账户
			</h2>
			<form action="../api/userQuickLoginApi.php" method="get">
				<div class="box">
	                <div class="login">
	                    <div class="lg_outer">
	                        <div class="lg" id="mobile">
								<input type="text" name="mobile" placeholder="手机号码">
	                        </div>
	                        <div class="lg" id="artboard">
								<input type="text" name="verificationCode" placeholder="验证码">
								<img src="../api/codeApi.php" onclick="this.src='../api/codeApi.php?t='" + Math.random() id="authcode_img" alt="看不清楚？点击更换.">
	                        </div>
	                        <div class="lg" id="identcode">
								<input type="text" name="identcode" placeholder="6位手机验证码">
								<a href="#" id="recieveCode">获取验证码</a>
	                        </div>
	                    </div>
	                    <span id="login_btn">
	                    	<input type="submit" value="登录">
	                	</span>
	                    <a href="./accountPassword_login.v.php" id="accountPassword_login"> 账号密码登录</a>
	                    <a href="./register.v.php" id="register" style="float: right">账号注册</a>
	                </div>
	            </div>	
			</form>

		</div>
	</section>
</body>
</html>